:root{
    --emas : #D4A857;
    --green : #395e38;
    --hitam : #272626;
    --hitamText : #2E2E2E;
    --putih : #f2f2f2;
    --darkestblue: #042351;
    --darkblue :#0a3981;
    --blue :#1F509A;
    --softblue :#D4EBF8;
    --red :#570505;
    --orange : #E38E49;
}

*{
     /* overflow-x: hidden; */
     /* width: 100%; */
     margin: 0;
     padding: 0;
}
/* Tambahkan di bagian awal CSS Anda */
html, body {
    /* overflow-x: hidden; */
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Pastikan semua container juga full width dan tidak overflow */
.container {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    margin-right: auto;
    margin-left: auto;
    overflow-x: hidden;
}

/* Tambahkan untuk section juga */
section {
    width: 100%;
    overflow-x: hidden;
    
}  
  /* Navbar Styles */
  .navbar {
    background-color: var(--darkestblue);
    color: #fff;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-bottom: 0;
    --navbar-height: 100px;
}
  .navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
  }
  .navbar-toggler {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
  }
  .navbar-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    position: relative;
  }
  .navbar-icon::before,
  .navbar-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: 0.3s ease-in-out;
  }
  .navbar-icon::before {
    top: -7px;
  }  
  .navbar-icon::after {
    bottom: -7px;
  }
  .navbar-menu {
    display: flex;
    gap: 20px;
  }
  .navbar-list {
    display: flex;
    gap: 20px;
    list-style: none;
  }
  .navbar-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
  }
  .navbar-link:hover {
    color: var(--emas);
    /* text-decoration: none; */
  }
  
/* Mobile Styles */
@media (max-width: 768px) {
    .navbar-toggler {
        display: block;
        margin-right: 20px; /* Tambah margin kanan untuk spacing */
    }

    .navbar-menu {
        position: absolute;
        top: 90px;
        right: 20px;  
        background-color: var(--darkestblue);
        padding: 15px;
        display: none;
        width: 250px;   
        border-radius: 8px;
        max-height: calc(100vh - 120px); /* Batasi tinggi maksimum */
        overflow-y: auto; 
    }

    .navbar-list {
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
        align-items: center;
    }

    .navbar-list li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .navbar-menu.open {
        display: block;
    }

    .navbar-link {
        font-size: 1.2rem;
        display: block;
        padding: 10px 0;
        white-space: nowrap;
    }
    .navbar-menu {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
}
/*Home Style*/
#Home {
    position: relative;
    background-image: url('images/bg.avif'); 
    background-size: cover;  
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh; 
}
#Home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #042351eb, #1c4f9ac0);
    z-index: 1; 
}
#Home .container {
    position: relative;
    z-index: 2;
    color: var(--putih); 
}
.swiper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.swiper-wrapper {
    position: relative;
    z-index: 2;
}
.promo-title {
    font-size: 40px;
    font-weight: 600;
    margin-top: 50px;
    z-index: 2;
}

.text {
    z-index: 2;
}
@media screen and (max-width: 576px) {
    #Home{
        height: 140vh; 
    }
    .promo-title {
        text-align: center;
    }
    .text {
        text-align: center;
    }
}
/*End Home*/


/*Service */
#Service {
    text-align: center;
    padding-bottom: 3rem;
}

#Service .col-12 h2 {
    color: var(--darkestblue);
    padding-bottom: 50px;
}

.col-lg-3 .icon {
    color: var(--darkblue);
    width: 100px;
    height: 100px;
    text-align: center;
    line-height: 70px;
    font-size: 60px;
    margin: 0 auto;
    margin-bottom: 10px;
}

.service-title {
    color: var(--darkestblue);
}

.service-subtitle {
    color: var(--hitamText);
}

.bi {
    padding-bottom: 20px;
}
/*End Service*/

/* aboutus */

#aboutus{
    background-color: #f5f5f5;
}
#aboutus .title h2{
    color: var(--darkestblue);

}
#aboutus .card{
    box-shadow: 1px 2px 6px 0px #5b5a5abf;
    border-radius: 2px;
}
#aboutus .card:hover{
    -ms-transform: none;
    -webkit-transform: none;
    transform: none;
    box-shadow: none;
}
#aboutus .dark-card{
    background-color: var(--darkestblue);
    color: var(--putih);
}
#aboutus .white-card{
    color: var(--darkestblue);
    font-size: 14px;
    /* line-height: 1.4; */
}
#aboutus .white-card .card-title{
    text-align: left;
}
/* end about us */

/*Product*/

#Product {
    padding: 1rem;
    text-align: center;
}

#Product .img-product {
    border-radius: 10px;
    height: 100%;
}

#Product h2 {
    /* color: #121943; */
    color: var(--darkestblue);
    padding-bottom: 2rem;
}

#Product a {
    /* color: #121943; */
    color: #333;
    text-decoration: none;
}

#Product a:hover {
    /* color: #452c7c; */
    color: #333;
    text-decoration: none;
}

.detail-product .card {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 1) !important;
    margin: auto;
}

.card {
    background: #3c3375;
    align-items: center;
    overflow: hidden;
    transition: 0.3s ease;
}
.card-img-top {
    width: 300px;
    height: 300px;
}
.card figcaption {
    position: absolute;
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    background-color: var(--darkblue);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--putih);
    padding: 5px;
    z-index: 100;
    width: 100%;
    max-height: 100%;
    overflow: hidden;
    top: 50%;
    left: 0;
    -moz-transform: translate3d(-100%, -50%, 0);
    /* position caption outside layout horizontally and centered vertically */
    -webkit-transform: translate3d(-100%, -50%, 0);
    transform: translate3d(-100%, -50%, 0);
    opacity: 0;
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.card figcaption {
    top: 100%;
    opacity: 1;
    -moz-transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.card:hover figcaption {
    -moz-transform: translate3d(0, -100%, 0);
    /* move caption up vertically to fully reveal caption */
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    box-shadow: 0px -2px 28px rgba(0, 0, 0, 0.3);
}

.card:hover {
    -ms-transform: scale(1.03);
    -webkit-transform: scale(1.03);
    transform: scale(1.03);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.back-detail a {
    /* color: #fbf2f2; */
    color: #333;
    text-decoration: none;
}

.back-detail a:hover {
    color: #aa0f0a;
    text-decoration: none;
}


/*End Product*/


/* CUSTOMER */


/**#Customer .owl-carousel .col {
    background-color: #121943;
    color: #fbf2f2;
    padding: 20px;
    padding-bottom: 100px;
    border-radius: 10px;
}**/

.right-text {
    width: 35%;
}

#Customer .lingkaran .img-cust {
    display: inline-block;
    width: 150px;
    margin: auto;
    height: 150px;
    background-color: white;
    border-radius: 50%;
}


/* END CUSTOMER */


/*Contact*/

#Contact {
    padding-bottom: 3rem !important;
    background: linear-gradient(45deg, #042351ce, #588bd8c3); 
    color: var(--putih);
}

.map {
    width: 20rem;
}

#share {
    width: 100%;
    text-align: center;
}

#share a {
    width: 25%;
    height: 70px;
    display: block;
    font-size: 24px;
    color: #333;
    transition: opacity 0.3s linear;
    float: left;
}

#share-container {
    width: 100%;
    display: inline-block;
    flex-wrap: nowrap;
    align-items: center;
}

#share img {
    width: 40px;
    height: 40px;
    vertical-align: -1px;
}

.btn-kirim {
    width: 100%;
}


/*End Contact*/


/*#form {
    width: 80%;
    height: 500px;
    color: rgb(0, 0, 0);
    top: 50%;
    left: 60%;
    position: absolute;
    box-sizing: border-box;
    padding: 70px;
}*/


/*Login Style*/
#auth {
    min-height: 100vh; /* Menggunakan viewport height */
    display: flex;
    align-items: center;
    background-color: #f5f5f5f5;
}

#auth .container-fluid {
    flex: 1;
}

/* Untuk background biru di sebelah kanan */
#auth .col-12.col-lg-6.col-md-6.col-sm-12[style*="background-color: #0a3981"] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    padding-top: 100px;
    color: white; /* Untuk memastikan teks terbaca di background biru */
}

/* Untuk form di sebelah kiri */
#auth .col-12.col-lg-6.col-md-6.col-sm-12:first-child {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#auth .btn-auth{
    background-color: var(--darkblue);
    color: var(--putih);
}

/*End*/


/*complain*/

#Complain .box-complain {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 1) !important;
    border-radius: 10px;
    margin-top: -110px;
    background-color: white;
}

#Complain .complain-title {
    color: #adadad;
    text-align: center;
}

@media screen and (max-width: 576px) {
    #Complain .box-complain {
        box-shadow: none !important;
        border-radius: 50px;
        padding-top: 20px;
    }
    #Complain .complain-title {
        color: #adadad;
        text-align: center;
    }
}


/*End Complain*/


/* chat */

#form_komen .form-group .form-control {
    background-color: #f9f7f7;
    box-shadow: 0 0.2rem 0.2rem rgba(0, 0, 0, 0.1);
    border: none;
}

#form_komen .btn {
    border-radius: 10px;
    background-color: #15a91b;
    box-shadow: 0 0.2rem 0.2rem rgba(0, 0, 0, 0.1);
    border: none;
}


/* End Chat */


/*Contributor*/

.right-text {
    width: 35%;
}

.lingkaran img {
    display: inline-block;
    border-radius: 50%;
    width: 150px;
    margin: auto;
    height: 150px;
    background-color: black;
}

.contribute-contact a img {
    width: 45px;
    padding: 5px;
}

#about-contributor img {
    border-radius: 15px;
    width: 400px;
}



/*End Contributor*/


/*Style Footer*/

.footer {
    background-color: var(--darkestblue);
    color: white;
    padding: 50px 0 20px 0;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 40px;
    margin-right: 10px;
}
.footer h5 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.call-button {
    background-color: rgba(255, 255, 255, 0.9);
    color: #4a4a5a;
    padding: 10px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.call-button:hover {
    background-color: white;
    color: #4a4a5a;
}
/*End Footer*/

.ignielToTop {
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 99;
    cursor: pointer;
    border-radius: 100px;
    transition: all 0.5s;
    background: #6d6060 url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z' fill='%23fff'/%3E%3C/svg%3E") no-repeat center center;
}

.ignielToTop:hover {
    background: #c4c4c4 url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z' fill='%23fff'/%3E%3C/svg%3E") no-repeat center center;
}


/* modal product */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

section#reqprod {
    padding-top: 100px;
}
#reqprod .card{
    -ms-transform: none;
    -webkit-transform: none;
    transform: none;
    box-shadow: none;
}
#reqprod .card:hover{
    -ms-transform: none;
    -webkit-transform: none;
    transform: none;
    box-shadow: none !important; 
}

#reqprod .card-req{
    /* border: 1px solid grey; */
    box-shadow: 1px 3px 7px -1px rgba(0,0,0,0.75);
    border-radius: 10px;
}
#reqprod .card-req .card-body{
    padding: 8px 10px 20px 15px;
}
#reqprod .card-req .card-images img{
    border-radius: 10px;
}